<template>

</template>

<script>
    export default {
        name: "Error",
        created() {
            this.$alert('登陆信息失效','提示',{
                confirmButtonText: '确定'
            }).then(() =>{
                localStorage.removeItem('JWT_TOKEN')
                localStorage.removeItem('user')
                this.$router.replace({path: '/login'})
            })
        }
    }
</script>